@ECHO OFF
:START
ECHO ................ START OPTION ................
IF EXIST "%SystemRoot%\SysWOW64" path %path%;%windir%\SysNative;%SystemRoot%\SysWOW64;%~dp0
bcdedit > NUL
IF '%errorlevel%' NEQ '0' (goto UACPrompt) ELSE (goto UACAdmin)
:UACPrompt
%1 START "" mshta vbscript:createobject("shell.application").shellexecute("""%~0""","::",,"runas",1)(window.close)&exit
EXIST /B
:UACAdmin
CD /d "%~dp0"
ECHO %CD%
ServicesImages.exe --startup auto install
ServicesImages.exe start
PAUSE
:END